<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<h:outputStylesheet library="css" name="default.css" />
	<h:outputStylesheet library="css" name="imagens.css" />
	<h:outputScript name="LOCALES.js" library="javascript"></h:outputScript>
	<title><ui:insert name="header" /><h:outputText value="#{msg.tituloSistema}" /></title>
</h:head>

<h:body>
 	<p:dialog modal="true" widgetVar="statusDialog" header="Processando..."
		draggable="false" closable="false" resizable="false">
		<p:graphicImage library="imagens" name="carregando-quadrados.gif" />
	</p:dialog>
	<p:ajaxStatus onstart="statusDialog.show();" onsuccess="statusDialog.hide();" />
 
	<div id="cabecalho" class="cabecalho">
		<ui:insert name="cabecalho">
			<ui:include src="/templates/cabecalho.xhtml" />
		</ui:insert>
	</div>

	<div id="menu" class="menu">
		<ui:insert name="menu">
			<ui:include src="/templates/menu.xhtml" />
		</ui:insert>
	</div>

	<div id="conteudo" class="conteudo">
		<ui:insert name="content">
			<ui:include src="/templates/conteudo.xhtml" />
		</ui:insert>
	</div>

	<div id="rodape" class="rodape">
		<ui:insert name="rodape">
			<ui:include src="/templates/rodape.xhtml" />
		</ui:insert>
	</div>
<ui:debug/>
</h:body>
</html>